<script setup lang="ts">
import { ref } from "vue";
import { Conversations, ConversationsProps } from "@artmate/chat";
const items: ConversationsProps["items"] = Array.from({ length: 4 }).map((_, index) => ({
  key: `item${index + 1}`,
  label: `Conversation Item ${index + 1}`,
  disabled: index === 3,
}));
const activeKey = ref("item1");
</script>

<template>
  <Conversations v-model:active-key="activeKey" :items="items" style="width: 300px" />
</template>

<style lang="scss" scoped></style>
